#include "stdio.h"
#include "math.h"
#include "stdlib.h"
#include "string.h"
int main(int argc, char *argv[])
{
    int *x = 0, value = 0;
    if(argc > 1)
    {
        value = atoi(argv[1]);
        printf(" x = 0x%x\r\n",value);
    }
    else
    {
        printf("Need more than one argv.\r\n");
        return 0;
    }
    value &= 0xf;  
    printf(" x = 0x%x\r\n",value);

        return 0;
} 
